package com.jd.cmdb.tsc.dao;

import com.jd.cmdb.tsc.entity.TaskLog;

import java.util.List;

/**
 * Created by tianzhengguo on 2016/1/12.
 */
public interface TaskLogDao {
    List<TaskLog> selAllTaskLogs() throws Exception;

    TaskLog selTaskLog(String taskId) throws Exception;

    List<TaskLog> selTaskLogs(String taskId);

    int addTaskLog(TaskLog log) throws Exception;

    int addTaskLog(String taskId) throws Exception;

    int updateTaskLog(String taskId) throws Exception;

    int deleteTaskLog(String taskId) throws Exception;

    int deleteAll() throws Exception;
}
